Skip to main content

Publish script

Publish a Cloud-Code script.

If you plan to create multiple scripts, checkout Deploy.

Command

Authentication Required: Yes

ugs cloud-code scripts publish <script-name> [options]

Arguments

<script-name> The name of the script to publish

Options

AliasDescription
project-id-p, --project-idThe Unity cloud project ID.
environment-e, --environment-nameThe services environment name.
version-v, --versionVersion of the script to republish.
help-?, -h, --helpDisplay help and usage information.
quiet-q, --quietReduce logging to a minimum.
json-j, --jsonUse JSON as the output format.